.class public Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field private a:Landroid/widget/TextView;

.field private b:Landroid/widget/TextView;

.field private c:Landroid/widget/TextView;

.field private d:Landroid/widget/LinearLayout;

.field private e:Ljava/lang/String;

.field private f:Ljava/util/HashMap;

.field private g:Ljava/util/ArrayList;

.field private h:Z

.field private i:Landroid/os/Handler;

.field private j:Landroid/view/View;

.field private k:Landroid/widget/LinearLayout;

.field private l:Landroid/widget/TextView;

.field private m:Lcom/waiqin365/lightapp/kehu/b/ab;

.field private n:Ljava/lang/String;

.field private o:Ljava/lang/String;


# direct methods
.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->h:Z

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->i:Landroid/os/Handler;

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->n:Ljava/lang/String;

    const-string/jumbo v0, "0"

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->o:Ljava/lang/String;

    return-void
.end method

.method private c()V
    .locals 1

    new-instance v0, Lcom/waiqin365/lightapp/kehu/bv;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/kehu/bv;-><init>(Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->i:Landroid/os/Handler;

    return-void
.end method

.method private d()V
    .locals 8

    const v7, 0x7f0802cd

    const v3, 0x7f0800ed

    const/16 v6, 0x8

    const/4 v5, 0x0

    const/4 v2, 0x0

    const v0, 0x7f0c0232

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->a:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->a:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0234

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->b:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->b:Landroid/widget/TextView;

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setText(I)V

    const v0, 0x7f0c0236

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->c:Landroid/widget/TextView;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "cmId"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->e:Ljava/lang/String;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "creditInfo"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/ab;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->m:Lcom/waiqin365/lightapp/kehu/b/ab;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->e:Ljava/lang/String;

    if-eqz v0, :cond_0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "jsonhashmap"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Ljava/util/HashMap;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->f:Ljava/util/HashMap;

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->f:Ljava/util/HashMap;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->f:Ljava/util/HashMap;

    const-string/jumbo v1, "tradeType"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    const-string/jumbo v1, "2"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_5

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->b:Landroid/widget/TextView;

    const v1, 0x7f0800d7

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    :cond_1
    :goto_0
    const v0, 0x7f0c0237

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->d:Landroid/widget/LinearLayout;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "cmdetails"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Ljava/util/ArrayList;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->g:Ljava/util/ArrayList;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "hasNoVerifyVals"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->o:Ljava/lang/String;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "approval_status"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->n:Ljava/lang/String;

    const v0, 0x7f0c023e

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->j:Landroid/view/View;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->j:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->d:Landroid/widget/LinearLayout;

    if-ne v0, v1, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->d:Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->j:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->removeView(Landroid/view/View;)V

    :cond_2
    const v0, 0x7f0c023a

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->l:Landroid/widget/TextView;

    const v0, 0x7f0c0238

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->k:Landroid/widget/LinearLayout;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->k:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v6}, Landroid/widget/LinearLayout;->setVisibility(I)V

    move v1, v2

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->g:Ljava/util/ArrayList;

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->g:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v1, v0, :cond_3

    const-string/jumbo v3, "return_reason"

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->g:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/bd;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->h:Ljava/lang/String;

    invoke-virtual {v3, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_8

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->k:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->l:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->g:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/bd;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_7

    invoke-virtual {p0, v7}, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    :goto_2
    invoke-virtual {v3, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->removeAllViews()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->d:Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->k:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->d:Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->g:Ljava/util/ArrayList;

    const/4 v3, 0x1

    invoke-static {p0, v0, v1, v3, v2}, Lcom/waiqin365/lightapp/kehu/c/b;->a(Landroid/app/Activity;Landroid/widget/LinearLayout;Ljava/util/ArrayList;ZZ)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->d:Landroid/widget/LinearLayout;

    const-string/jumbo v1, "credit"

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewWithTag(Ljava/lang/Object;)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/CreditLabelViewV;

    if-eqz v0, :cond_4

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->m:Lcom/waiqin365/lightapp/kehu/b/ab;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/CreditLabelViewV;->setCreditInfo(Lcom/waiqin365/lightapp/kehu/b/ab;)V

    :cond_4
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "canShare"

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_9

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->c:Landroid/widget/TextView;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->c:Landroid/widget/TextView;

    invoke-virtual {v0, v5, v5, v5, v5}, Landroid/widget/TextView;->setCompoundDrawables(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->c:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->c:Landroid/widget/TextView;

    const v1, 0x7f08075b

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_3
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->a()V

    return-void

    :cond_5
    const-string/jumbo v1, "3"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_6

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->b:Landroid/widget/TextView;

    const v1, 0x7f080112

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    goto/16 :goto_0

    :cond_6
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->b:Landroid/widget/TextView;

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setText(I)V

    goto/16 :goto_0

    :cond_7
    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->g:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/bd;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v4, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "\uff0c"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {p0, v7}, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    goto/16 :goto_2

    :cond_8
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto/16 :goto_1

    :cond_9
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->c:Landroid/widget/TextView;

    invoke-virtual {v0, v6}, Landroid/widget/TextView;->setVisibility(I)V

    goto :goto_3
.end method

.method private e()V
    .locals 3

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->h:Z

    if-eqz v0, :cond_0

    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    const-string/jumbo v1, "modifycmdetails"

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->g:Ljava/util/ArrayList;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const/16 v1, 0x8c

    invoke-virtual {p0, v1, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->setResult(ILandroid/content/Intent;)V

    :cond_0
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->back()V

    return-void
.end method


# virtual methods
.method public a()V
    .locals 3

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getChildCount()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    move v1, v0

    :goto_0
    const/4 v0, -0x1

    if-le v1, v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    instance-of v2, v0, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;

    if-eqz v2, :cond_1

    check-cast v0, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setBottomLineStatus(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->j:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->d:Landroid/widget/LinearLayout;

    if-eq v0, v1, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->d:Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->j:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    :cond_0
    return-void

    :cond_1
    add-int/lit8 v0, v1, -0x1

    move v1, v0

    goto :goto_0
.end method

.method public b()V
    .locals 5

    new-instance v3, Landroid/content/Intent;

    invoke-direct {v3}, Landroid/content/Intent;-><init>()V

    const-class v0, Lcom/waiqin365/lightapp/kehu/share/ShareManagerActivity;

    invoke-virtual {v3, p0, v0}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    const/4 v0, 0x0

    move v2, v0

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->g:Ljava/util/ArrayList;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->g:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v2, v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->g:Ljava/util/ArrayList;

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/bd;

    const-string/jumbo v4, "manager_name"

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->g:Ljava/util/ArrayList;

    invoke-virtual {v1, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightapp/kehu/b/bd;

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/b/bd;->h:Ljava/lang/String;

    invoke-virtual {v4, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1

    const-string/jumbo v1, "SharedIds"

    iget-object v2, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v3, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "code"

    iget-object v2, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->h:Ljava/lang/String;

    invoke-virtual {v3, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "SharedNames"

    iget-object v2, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->f:Ljava/lang/String;

    invoke-virtual {v3, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "cmId"

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->l:Ljava/lang/String;

    invoke-virtual {v3, v1, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    :cond_0
    const/16 v0, 0x65

    invoke-virtual {p0, v3, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->startActivityForResult(Landroid/content/Intent;I)V

    const v0, 0x7f040022

    const v1, 0x7f040021

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->overridePendingTransition(II)V

    return-void

    :cond_1
    add-int/lit8 v0, v2, 0x1

    move v2, v0

    goto :goto_0
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 9

    const/4 v8, 0x1

    const/4 v2, 0x0

    packed-switch p2, :pswitch_data_0

    :cond_0
    :goto_0
    invoke-super {p0, p1, p2, p3}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onActivityResult(IILandroid/content/Intent;)V

    return-void

    :pswitch_0
    if-eqz p3, :cond_0

    const-string/jumbo v0, "SharedIds"

    invoke-virtual {p3, v0}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    const-string/jumbo v0, "SharedNames"

    invoke-virtual {p3, v0}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v6

    move v1, v2

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->g:Ljava/util/ArrayList;

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->g:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v1, v0, :cond_3

    const-string/jumbo v3, "manager_name"

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->g:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/bd;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->h:Ljava/lang/String;

    invoke-virtual {v3, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    new-instance v7, Ljava/util/ArrayList;

    invoke-direct {v7}, Ljava/util/ArrayList;-><init>()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->g:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/bd;

    iget-object v3, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->f:Ljava/lang/String;

    const/16 v0, 0x2c

    invoke-static {v6, v0, v7}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;CLjava/util/ArrayList;)V

    move v4, v2

    :goto_2
    if-eqz v7, :cond_1

    invoke-virtual {v7}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v4, v0, :cond_1

    invoke-virtual {v7, v4}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/CharSequence;

    invoke-virtual {v3, v0}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_4

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v3, ","

    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v7, v4}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    :goto_3
    add-int/lit8 v3, v4, 0x1

    move v4, v3

    move-object v3, v0

    goto :goto_2

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->g:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/bd;

    iput-object v3, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->f:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->g:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/bd;

    iput-object v5, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    iput-boolean v8, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->h:Z

    :cond_2
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto/16 :goto_1

    :cond_3
    iget-boolean v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->h:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->removeAllViews()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->d:Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->k:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->d:Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->g:Ljava/util/ArrayList;

    invoke-static {p0, v0, v1, v8, v2}, Lcom/waiqin365/lightapp/kehu/c/b;->a(Landroid/app/Activity;Landroid/widget/LinearLayout;Ljava/util/ArrayList;ZZ)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->d:Landroid/widget/LinearLayout;

    const-string/jumbo v1, "credit"

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewWithTag(Ljava/lang/Object;)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/CreditLabelViewV;

    if-eqz v0, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->m:Lcom/waiqin365/lightapp/kehu/b/ab;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/CreditLabelViewV;->setCreditInfo(Lcom/waiqin365/lightapp/kehu/b/ab;)V

    goto/16 :goto_0

    :cond_4
    move-object v0, v3

    goto :goto_3

    nop

    :pswitch_data_0
    .packed-switch 0x77
        :pswitch_0
    .end packed-switch
.end method

.method public onBackPressed()V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->e()V

    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 1

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :goto_0
    return-void

    :sswitch_0
    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->e()V

    goto :goto_0

    :sswitch_1
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->b()V

    goto :goto_0

    :sswitch_data_0
    .sparse-switch
        0x7f0c0232 -> :sswitch_0
        0x7f0c0236 -> :sswitch_1
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 1

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    invoke-static {p0}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/app/Activity;)V

    const v0, 0x7f030053

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->setContentView(I)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->d()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerBasicInfoActivity;->c()V

    return-void
.end method
